PATH 
Mac OS 8 and 9 Developer Documentation > Text and Other International Services > Apple Type Services for Unicode Imaging (ATSUI) > Apple Type Services for Unicode Imaging Reference

     

ATSUSetStyleRefCon

Sets application-specific style object data.

OSStatus ATSUSetStyleRefCon (
                     ATSUStyle iStyle,
                     UInt32 iRefCon);
iStyle
A reference of type ATSUStyle. Pass a reference to a valid style object whose application-specific data you want to set. You cannot pass NULL for this parameter.

iRefCon
A 32-bit value, pointer, or handle to application-specific style data.

function result
A result code. See Result Codes.
DISCUSSION
The ATSUSetStyleRefCon function enables you to associate application-specific data with a style object. When you copy or clear a style object that contains a reference constant, the reference constant will not be copied or removed. When you dispose of a style object that contains a reference constant, you are responsible for freeing any memory allocated for the reference constant. Calling the function ATSUDisposeStyle will not do so.

VERSION NOTES
Available beginning with ATSUI 1.0.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)